.manage_log {
    width: 95%;
    min-height: 300;
    max-height: 700px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    margin: 15px auto;
    display: flex;
    flex-direction: column;
}

.manage_log_header {
    flex-shrink: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;

    .manage_log_title {
        font-size: 20px;
        font-weight: bold;
    }

    .refresh-icon {
        font-size: 18px;
        color: #666;
        cursor: pointer;
        transition: all 0.3s;

        &:hover {
            color: #1890ff;
        }

        &.refreshing {
            animation: rotate 1s linear infinite;
        }
    }

    .manage_prompt {
        margin: 12px 0px;
        font-size: 15px;
        color: #999;
    }

}

.manage_log_title {
    font-size: 16px;
    font-weight: bold;
}




.manage_log_filter {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}

.filter_item {
    padding: 0px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
    background: #f5f5f5;
    color: #666;
    display: flex;
    text-align: center;
    align-items: center;
}

.filter_item:hover {
    background: #e6f4ff;
    color: #1677ff;
}

.filter_item.active {
    background: #1677ff;
    color: #fff;
}

.manage_log_content {
    flex: 1;
    overflow-y: auto !important;
    overflow-x: hidden;
}

.manage_log_item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.manage_log_item:hover {
    background: #f0f2f5;
    transform: translateX(5px);
}

.manage_log_item .type {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
    min-width: 50px;
    text-align: center;
}

/* 不同状态的颜色 */
.type-start {
    background: #e6f4ff;
    color: #1677ff;
}

.type-chat {
    background: #f6ffed;
    color: #52c41a;
}

.type-active {
    background: #fff7e6;
    color: #fa8c16;
}

.type-all {
    background: #f0f2f5;
    color: #666666;
}

.type-error {
    background: #fff1f0;
    color: #ff4d4f;
}

.type-recent {
    background: #f9f0ff;
    color: #722ed1;
}

.type-recent-chat {
    background: #e6f4ff;
    color: #1677ff;
}

.manage_log_item .message {
    flex: 1;
    color: #333;
    margin-right: 10px;
    font-size: 13px;
}

.manage_log_item .time {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}